<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/7/3
 * Time: 10:22
 */
namespace common\components\bases;

use common\components\helpers\MsgeventData;
use yii\base\Behavior;
use common\components\helpers\EventData;
use common\components\helpers\Fun;

class BaseBehavior extends Behavior
{
    public function events()
    {
        //$old_result_arr = (new EventData(['className'=>get_class($this),'classOwner'=>get_class($this->owner)]))->getEventArray();
        $new_result_arr = (new MsgeventData(['className'=>get_class($this),'classOwner'=>get_class($this->owner)]))->getEventArray();
        return $new_result_arr;
    }
}